package com.zzz.feign;

import com.aaa.util.PayUtils;
import com.aaa.vo.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author ：zxw
 * @date ：Created in 2023/3/14 14:58
 */
@FeignClient("front-page1")
public interface AliPayFeign {
    @PostMapping(value = "/order/order/buyCart/",consumes = "application/json")
    Result getPayInfo(@RequestBody PayUtils payUtils);

}
